<template>
    <div id="article-label" class="article-label-area float-left">
        <p class="label-title">标签列表</p>
        <hr />
        <div class="article-labels">
            <a href="#">web前端</a>
            <a href="#">HTML</a>
            <a href="#">CSS</a>
            <a href="#">JavaScript</a>
            <a href="#">Node.js</a>
            <a href="#">Vue</a>
            <a href="#">Jquery</a>
        </div>
    </div>
</template>

<script>
export default {
    name: "article-label",
    data() {
        return {};
    },
};
</script>

<style lang="scss" scoped>
.article-label-area {
    box-sizing: border-box;
    width: 22%;
    padding-bottom: 2rem;
    background-color: #fff;
    .label-title {
        padding-left: 5%;
        font-size: 13px;
        font-weight: bold;
        color: #6b6b6b;
        padding-top: 15px;
        margin-bottom: 5px;
    }
    .article-labels {
        width: 90%;
        margin: 0px auto;
        a {
            display: inline-block;
            height: 1.5rem;
            padding: 0px 0.5rem;
            margin-right: 1rem;
            margin-top: 0.5rem;
            line-height: 1.5rem;
            vertical-align: center;
            background-color: #3770ca;
            color: #fff;
            font-size: 14px;
            border-radius: 0.1rem;
        }
    }
}
</style>